#include "StdAfx.h"
#include "DisplayDeviceMngr.h"

CDisplayDeviceManager::CDisplayDeviceManager(void)
{
}

CDisplayDeviceManager::~CDisplayDeviceManager(void)
{
}

const WCHAR *CDisplayDeviceManager::ChangeSettingsError(DWORD error)
{
   switch(error)
   {
   case DISP_CHANGE_SUCCESSFUL:
      return(L"The settings change was successful.");
      break;
   case DISP_CHANGE_BADDUALVIEW:
      return(L"The settings change was unsuccessful because the system is DualView capable.");
      break;
   case DISP_CHANGE_BADFLAGS:
      return(L"An invalid set of flags was passed in.");
      break;
   case DISP_CHANGE_BADMODE:
      return(L"The graphics mode is not supported.");
      break;
   case DISP_CHANGE_BADPARAM:
      return(L"An invalid parameter was passed in. This can include an invalid flag or combination of flags.");
      break;
   case DISP_CHANGE_FAILED:
      return(L"The display driver failed the specified graphics mode.");
      break;
   case DISP_CHANGE_NOTUPDATED:
      return(L"Unable to write settings to the registry.");
      break;
   case DISP_CHANGE_RESTART:
      return(L"The computer must be restarted for the graphics mode to work.");
      break;
   }
   return(L"??????");
}
